package com.gzsxy.lesson01.udp.thread;

/**
 * 学生窗口
 */
public class TalkStudent {
    public static void main(String[] args) {
        //开启两个线程
        //发送给老师
        new Thread(new TalkSend(7777, "localhost", 9999)).start();
        //学生接收老师的信息
        new Thread(new TalkReceive(8888, "老师端")).start();
    }
}
